package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiAgent;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【ai_agent(AI智能体配置表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiAgent
*/
public interface AiAgentMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AiAgent record);

    int insertSelective(AiAgent record);

    AiAgent selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AiAgent record);

    int updateByPrimaryKey(AiAgent record);

    /**
     * 查询agent实体
     * @param agentId
     * @return
     */
    AiAgent queryByAgentId(@Param("agentId") String agentId);
}
